package com.ybkj.daijia.server.mc;

import java.io.Serializable;

/**
 * 乘客常用地址
 *
 * @author Administrator
 */
public class PassengerAddress implements Serializable {

    /**
     * 家
     */
    public static final Integer TYPE_ADDRESS_HOME = 0;

    /**
     * 公司
     */
    public static final Integer TYPE_ADDRESS_ENTERPRISE = 1;

    /**
     * 其他
     */
    public static final Integer TYPE_ADDRESS_OTHER = 2;
    private static final long serialVersionUID = 1L;
    private Long id;
    private String address;        //常用地址
    private Double latitude;    //纬度
    private Double longitude;    //经度
    private Integer type;        //类型:0家,1公司,2其他
    private Long passenger_id;    //乘客Id
    private String created;
    private String updated;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getPassenger_id() {
        return passenger_id;
    }

    public void setPassenger_id(Long passenger_id) {
        this.passenger_id = passenger_id;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getUpdated() {
        return updated;
    }

    public void setUpdated(String updated) {
        this.updated = updated;
    }


}